package com.tang.service.admin.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tang.common.utils.excel.annotation.ExcelEnum;
import com.tang.common.utils.excel.converter.EnumConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import com.tang.framework.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "后台用户角色表")
@TableName(value = "sys_user_role")
public class SysUserRole extends BaseEntity<SysUserRole>{


    @Schema(description = "后台用户id")
    @ExcelIgnore
    @TableField(value = "`sys_user_id`")
    private Long sysUserId;


    @Schema(description = "角色id")
    @ExcelIgnore
    @TableField(value = "`role_id`")
    private Long roleId;

}
